/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.factory.abstracts;

/**
 *
 * @author xiay
 * @since 2020/12/4 11:33 下午
 */
public class AbstractFactoryClient1 {

    public static void main(String[] args) {
        CarFactory factory = new AudiFactory();
        Car car = factory.createBlackCar();
        car.show();
        car = factory.createRedCar();
        car.show();
    }
}
